Skip to content

Instantly share code, notes, and snippets.

@eduardoghi
eduardoghi / ascii85.md
Created September 12, 2025 23:45
O que é o ASCII 85 e como funciona

Conceitos básicos

Bit → é a menor unidade computacional, pode representar 0 e 1.

Byte → conjunto de 8 bits.

O que é ASCII?

ASCII (American Standard Code for Information Interchange) é uma maneira padronizada de representar caracteres com números para computadores.

@eduardoghi
eduardoghi / padrao.md
Last active June 3, 2026 17:35
Meu padrão de commits

Padrão de commits

Este padrão descreve como vou escrever minhas mensagens de commit. Pode evoluir até se tornar definitivo.

Regras

  • começar com verbo no imperativo, em minúsculas (ex.: add, fix, update, remove)
  • não capitalizar a primeira letra do texto
  • não colocar ponto final no título
  • manter o título curto
@davFaithid
davFaithid / ._Streamages
Last active June 3, 2026 17:33
Download Netflix, Amazon, and Hulu Images
Here because I don't want the gist to be titled .gitignore lol
@brainwo
brainwo / youtubeemoji.csv
Created June 23, 2024 02:46
YouTube Live Chat Emoji
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 9.
"Emoji label","Src"
":hand-pink-waving:","https://yt3.ggpht.com/KOxdr_z3A5h1Gb7kqnxqOCnbZrBmxI2B_tRQ453BhTWUhYAlpg5ZP8IKEBkcvRoY8grY91Q=w24-h24-c-k-nd"
":face-blue-smiling:","https://yt3.ggpht.com/cktIaPxFwnrPwn-alHvnvedHLUJwbHi8HCK3AgbHpphrMAW99qw0bDfxuZagSY5ieE9BBrA=w24-h24-c-k-nd"
":face-red-droopy-eyes:","https://yt3.ggpht.com/oih9s26MOYPWC_uL6tgaeOlXSGBv8MMoDrWzBt-80nEiVSL9nClgnuzUAKqkU9_TWygF6CI=w24-h24-c-k-nd"
":face-purple-crying:","https://yt3.ggpht.com/g6_km98AfdHbN43gvEuNdZ2I07MmzVpArLwEvNBwwPqpZYzszqhRzU_DXALl11TchX5_xFE=w24-h24-c-k-nd"
":text-green-game-over:","https://yt3.ggpht.com/cr36FHhSiMAJUSpO9XzjbOgxhtrdJNTVJUlMJeOOfLOFzKleAKT2SEkZwbqihBqfTXYCIg=w24-h24-c-k-nd"
":person-turqouise-waving:","https://yt3.ggpht.com/uNSzQ2M106OC1L3VGzrOsGNjopboOv-m1bnZKFGuh0DxcceSpYHhYbuyggcgnYyaF3o-AQ=w24-h24-c-k-nd"
":face-green-smiling:","https://yt3.ggpht.com/G061SAfXg2bmG1ZXbJsJzQJpN8qEf_W3f5cb5nwzBYIV58IpPf6H90lElDl85iti3HgoL3o=w24-h24-c-k-nd"
":face-orange-frowning:","https://yt3.ggpht.com/Ar8jaEIxzfiyYm

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@pghant
pghant / cocMapping.json
Last active June 3, 2026 17:25
Clash of Clans JSON Export Mapping
[
{ "name": "Crafted Defense", "dataId": 1000097 },
{ "name": "Cannon", "dataId": 1000008 },
{ "name": "Archer Tower", "dataId": 1000009 },
{ "name": "Mortar", "dataId": 1000013 },
{ "name": "Air Defense", "dataId": 1000012 },
{ "name": "Wizard Tower", "dataId": 1000011 },
{ "name": "Air Sweeper", "dataId": 1000028 },
{ "name": "Hidden Tesla", "dataId": 1000019 },
{ "name": "Bomb Tower", "dataId": 1000032 },
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 3, 2026 17:22
Conventional Commits Cheatsheet
@andy0130tw
andy0130tw / kagi-mute-slop-results.css
Last active June 3, 2026 17:16
A minimal CSS snippet to make AI slop results appear faded
.theme_dark .search-result:has(.ai-stain-icon),
.theme_dark .search-result:has(.ai-stain-icon) + .sr-group {
--app-text: #403E3C80;
--search-result-url-link: #878580;
--result-item-title-border: #87858080;
--search-result-title: #87858080;
--search-result-content-text: #87858080;
}
.theme_dark .search-result .ai-stain-icon > svg {
@rohitg00
rohitg00 / llm-wiki.md
Last active June 3, 2026 17:13 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.